package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author wux
 * @date 2023/5/23 16:11
 */
@Data
@TableName("t_prod")
@ApiModel(value = "产品表")
public class TProd extends CommonEntity implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "产品编码")
    private String prodCode;

    @ApiModelProperty(value = "所属隧道")
    private String tunnel;

    @ApiModelProperty(value = "隧道部位")
    private String tunnelArea;

    @ApiModelProperty(value = "工字钢类型")
    private String steel;

    @ApiModelProperty(value = "单元")
    private String unit;

    @ApiModelProperty(value = "大样图")
    private String image;

    @ApiModelProperty(value = "产品类型（取自产品类型接口的code）")
    private String prodType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人名称")
    private String creator;

    @ApiModelProperty("弧长")
    @TableField("arc_length")
    private BigDecimal arcLength;

    @ApiModelProperty("玄高")
    @TableField("height")
    private BigDecimal height;

    @ApiModelProperty("半径")
    @TableField("radius")
    private BigDecimal radius;

    @ApiModelProperty("长/止浆段长度")
    @TableField("prod_long")
    private BigDecimal prodLong;

    @ApiModelProperty("宽")
    @TableField("prod_wide")
    private BigDecimal prodWide;

    @ApiModelProperty("厚")
    @TableField("pro_thick")
    private BigDecimal proThick;

    @ApiModelProperty("钢筋规格")
    @TableField("rebar_specifications")
    private String rebarSpecifications;

    @ApiModelProperty("钢板规格")
    @TableField("steel_plate_specifications")
    private String steelPlateSpecifications;

    @ApiModelProperty("小导管规格")
    @TableField("conduit_specifications")
    private String conduitSpecifications;

}
